延长确认收货
<form id='form01' action="index.php?app=b2c&ctl=admin_order&act=saveDeliveryTime" method="post">
<{foreach from=$orders item=order key=key}>
    <input type="hidden" name="order_id[<{$key}>]" id="order_id[<{$key}>]" value="<{$order.order_id}>" />
<{/foreach}>
<div style="padding:10px 0 10px 90px;">
以下订单将批量延长自动收货时间：<{input type='text' name ='add_delivery_time' id='add_delivery_time' size='6' vtype="unsigned"}>天
<button id="btn01" type="button" class="btn"><span><span>保存</span></span></button>
</div>
<hr></hr>
</form>
<div class="content">
  <div id="container">
  <{foreach from=$orders item=order key=key}>
      <div class="pager">
      <table class="p12white" cellpadding="2" cellspacing="0" border="0" width="100%">
      <tbody><tr> 
        <td class="p12black"><strong>订单信息</strong><hr noshade="" size="1"></td>
      </tr></tbody>
      </table>
      <table class="p9black" cellpadding="4" cellspacing="0" bgcolor="#F7F7F7" border="0" width="100%">
          <tbody>
            <tr> 
            <td class="p9orange" align="right" nowrap="" width="12%">订单号：</td>
            <td nowrap="" width="18%"><{$order.order_id}></td>
            <td class="p9orange" align="right" nowrap="" width="10%">配送方式：</td>
            <td nowrap="" width="26%"><{$order.shipping}></td>
            <td class="p9orange" align="right" nowrap="" width="10%">下单日期：</td>
            <td nowrap="" width="124%"><{$order.createtime|cdate:FDATE_STIME}></td>
            </tr>
            <tr> 
            <td class="p9orange" align="right" nowrap="" width="18%">金额：</td>
            <td nowrap="" width="27%"><{$order.final_amount}></td>
            <td class="p9orange" align="right" nowrap="" width="16%">姓名：</td>
            <td nowrap="" width="39%"><{$order.ship_name}></td>
            <td class="p9orange" align="right" nowrap="" width="10%">电话：</td>
            <td nowrap="" width="124%"><{$order.ship_tel}></td>
            </tr>
            <tr> 
            <td class="p9orange" align="right" nowrap="" width="18%">手机：</td>
            <td nowrap="" width="27%"><{$order.ship_mobile}></td>
            <td class="p9orange" align="right" nowrap="" width="16%">地区：</td>
            <td nowrap="" width="39%"><{$order.ship_area|region}></td>
            <td class="p9orange" align="right" nowrap="" width="10%">邮编：</td>
            <td nowrap="" width="124%"><{$order.ship_zip}></td>
            </tr>
            <tr> 
            <td class="p9orange" align="right" nowrap="" width="18%">地址：</td>
            <td nowrap="" width="27%"><{$order.ship_addr}></td>
            <td class="p9orange" align="right" nowrap="" width="16%">自动收货时间：</td>
            <td nowrap="" width="39%"><{if $order.delivery_time ==''}><{else}><{$order.delivery_time|cdate:'FDATE_FTIME'}><{/if}></td>
            </tr>
          </tbody>
      </table>
      </div>
      <br>  
  <{/foreach}>
  </div>
</div>
<script>
  $('btn01').addEvent('click',function(){

      $('form01').store('target',{onComplete:function(re){
           re = JSON.decode(re);
           if(re.error)return;
           $('form01').getParent('.dialog').retrieve('instance').close();
      }});
      $('form01').fireEvent('submit',{stop:$empty});
  
  });
</script>